native-layout: Change test-case so that it is more obvious that the algorithm tries...
authorJohannes Schmid <jhs@gnome.org>
Mon, 14 Dec 2009 16:24:52 +0000 (17:24 +0100)
committerJohannes Schmid <jhs@gnome.org>
Mon, 14 Dec 2009 16:24:52 +0000 (17:24 +0100)
widgets with full size as possible.

tests/testextendedlayout.c

index 497ccafb82472d04d643c434e78587ae919cb366..b734fabdc2b8c15d7672977609aa916991f88c15 100644 (file)
@@ -63,7 +63,7 @@ main (int   argc,
 
       for (x = 0; x < G_N_ELEMENTS (groups); ++x)
         {
-          gchar *text = g_strdup_printf ("Label #%.0f.%d", pow(10, y), x + 1);
+          gchar *text = g_strdup_printf ("Label #%.0f.%.0f", pow(10, y), pow(10,x));
           GtkWidget *label = gtk_label_new (text);
           g_free (text);